package com.yuexiang.melodyhub.authserver.handler.context;

import com.yuexiang.melodyhub.authserver.dto.OAuthLogin.param.OAuthLoginParam;
import com.yuexiang.melodyhub.common.dto.user.UserFindWithRolesByUsername.response.UserFindWithRolesByUsernameResponse;
import lombok.Data;

@Data
public class LoginContext {
    private OAuthLoginParam oAuthLoginParam;
    private UserFindWithRolesByUsernameResponse userFindResponse;
    private String email;
    private String avatar;
    private String token;

    public LoginContext(OAuthLoginParam oAuthLoginParam) {
        this.oAuthLoginParam = oAuthLoginParam;
    }
}
